package com.yjx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yjx.module.ManagementCreateDTO;
import com.yjx.module.ManagementUpdateDTO;
import com.yjx.pojo.Management;

import java.util.Map;

public interface ManagementService extends IService<Management> {

    Map<String, Object> getAllRepairManagement(Integer userId, String searchKeyword, Integer pageNum, Integer pageSize, String sortField, String sortOrder);

    boolean createRepairManagement(ManagementCreateDTO createDTO);

    String deleteRepairManagement(Integer repairId, Integer userId, String userPasswd);

    String updateRepairManagement(ManagementUpdateDTO updateDTO);

}